# set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(src main.cpp)

add_executable(
  client
  ${src}
  client.cpp
  client.h
  gui/clientproxy.cpp
  gui/clientproxy.h
  gui/command.cpp
  gui/command.h
  gui/widgets.cpp
  gui/widgets.h
  rectification/video.cpp
  rectification/video.h
  resource/gui.png)

target_include_directories(client PRIVATE .)

add_dependencies(client network)
target_link_libraries(
  client
  uv
  network
  jansson
  sqlite3
  pthread
  imgui)
